import 'package:freezed_annotation/freezed_annotation.dart';
import 'package:sonora/bloc/base/sj_base_state.dart';
import 'package:sonora/models/sj_broad_caster_data.dart';
import 'package:sonora/models/sj_works_model.dart';

part 'sj_user_info_state.freezed.dart';

@freezed
class SjUserInfoState extends SjBaseState with _$SjUserInfoState {
  const factory SjUserInfoState({
    @Default(false) bool initial,
    @Default(false) bool loading,
    @Default(null) SjBroadCasterData? caster,
    @Default(null) List<SjWorksModel>? worksList,
  }) = _SjUserInfoState;
}